﻿@model List<Post>

<div class="am-panel-hd">Hot</div>
<ul class="am-list blog-list">
    @foreach (var post in Model)
    {
        <li><a asp-controller="Post" asp-action="Detail" asp-route-url="@post.Url">@post.Title</a></li>
    }
</ul>